package com.itheima.pojo;

public class Teacher {
	private String teacherNmae;
	private int code;

	public Teacher() {
	}

	public String getTeacherNmae() {
		return teacherNmae;
	}

	public int getCode() {
		return code;
	}

	public void setTeacherNmae(String teacherNmae) {
		this.teacherNmae = teacherNmae;
	}

	public void setCode(int code) {
		this.code = code;
	}

	@Override
	public String toString() {
		return "teacher{" +
				"teacherNmae='" + teacherNmae + '\'' +
				", code=" + code +
				'}';
	}
}
